package com.doit.day01

class User (val id:Int,val name :String,val age:Int) /*extends Ordered[User]*/{
//  override def compare(that: User): Int = age - that.age


  override def toString = s"User(id=$id, name=$name, age=$age)"
}
